@PACKAGE_INIT@

cmake_minimum_required(VERSION 3.17)

# make the bundled find modules in this directory available
set(_save_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}")

include(CMakeFindDependencyMacro)

find_dependency(CUDAToolkit)

find_dependency(spdlog @RMM_MIN_VERSION_spdlog@)

find_dependency(Thrust @RMM_MIN_VERSION_Thrust@)
thrust_create_target(rmm::Thrust FROM_OPTIONS)

set(CMAKE_MODULE_PATH ${_save_CMAKE_MODULE_PATH})

include("${CMAKE_CURRENT_LIST_DIR}/rmm-targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/rmm-config-version.cmake")

check_required_components(rmm)

set(${CMAKE_FIND_PACKAGE_NAME}_CONFIG "${CMAKE_CURRENT_LIST_FILE}")

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(${CMAKE_FIND_PACKAGE_NAME} CONFIG_MODE)
